/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/1 11:34:07
 */
import request from '@/utils/request'

export function articleAdd(data) {
  return request({
    url: '/article/article/add',
    method: 'post',
    data
  })
}

export function articleUpdate(data) {
  return request({
    url: '/article/article/update',
    method: 'post',
    data
  })
}

export function articleDel(data) {
  return request({
    url: '/article/article/del',
    method: 'post',
    data
  })
}

export function articleSelect(data) {
  return request({
    url: '/article/article/select',
    method: 'post',
    data
  })
}

export function articleSelectpage(data) {
  return request({
    url: '/article/article/selectpage',
    method: 'post',
    data
  })
}

export function articleSelecttree(data) {
  return request({
    url: '/article/article/selecttree',
    method: 'get',
    params:data
  })
}

export function articleInfo(data) {
  return request({
    url: '/article/article/info',
    method: 'get',
    params:data
  })
}